import { defineStore } from 'pinia';

const userCenterStore = defineStore('centerStore', {
  state() {
      return {
        count: 0
      }
  },
  actions: {
    increment() {
      this.count += 1;
    },
    decrement() {  
      this.count -= 1;
    }
  }
});
export default userCenterStore;